#!/usr/bin/python
# -*- coding:utf-8 -*-
import os
import OP_IOS_Builder;

def getsvnVersionInfo():
    info = os.popen('svn info http://172.16.1.57/svn/op_new/trunk/client').readlines()
    for line in info:
       if line.startswith("Revision:") :
            print(line.strip('\r\n').replace("Revision:",''))

def test_OS_getcwd():
    print(os.getcwd())

#OP_IOS_Builder.getSvnVersionHashCode();
#OP_IOS_Builder.modifyBundleVersion();
OP_IOS_Builder.exportXcodeProj(os.getcwd()+ "/../IOSBuild");
OP_IOS_Builder.updatePodFileAndInstall()
OP_IOS_Builder.makeIpaFile()
OP_IOS_Builder.makeIPA()
#test_OS_getcwd()
